/PROG  TOOL_LOCK_UNLOCK
/ATTR
OWNER		= MNEDITOR;
COMMENT		= "DuanShiQi";
PROG_SIZE	= 274;
CREATE		= DATE 15-03-20  TIME 19:31:24;
MODIFIED	= DATE 15-03-20  TIME 19:36:12;
FILE_NAME	= ;
VERSION		= 0;
LINE_COUNT	= 10;
MEMORY_SIZE	= 738;
PROTECT		= READ_WRITE;
TCD:  STACK_SIZE	= 0,
      TASK_PRIORITY	= 50,
      TIME_SLICE	= 0,
      BUSY_LAMP_OFF	= 0,
      ABORT_REQUEST	= 0,
      PAUSE_REQUEST	= 0;
DEFAULT_GROUP	= 1,*,*,*,*;
CONTROL_CODE	= 00000000 00000000;
/MN
   1:  LBL[1:UNLOCK] ;
   2:  DO[20:TOOL1 POS]=ON ;
   3:  DO[13:REQ ATC CHUCK]=OFF ;
   4:  DO[14:REQ ATC UNCHUCK]=ON ;
   5:  WAIT  10.00(sec) ;
   6:  LBL[2:LOCK] ;
   7:  DO[21:TOOL2 POS]=ON ;
   8:  DO[14:REQ ATC UNCHUCK]=OFF ;
   9:  DO[13:REQ ATC CHUCK]=ON ;
  10:  WAIT  10.00(sec) ;
/POS
/END
